package com.xiyou.luckdraw.api.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @ClassName: VisitorRecordDto
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-22 15:36
 */

@Data
@Document(collection = "visitorRecordInfo")
@ApiModel(value = "用户访客记录信息DTO")
public class VisitorRecordDto {
    @ApiModelProperty(value="Id")
    private String id;
    @ApiModelProperty(value="用户ID")
    private Long userId;
    @ApiModelProperty(value="访问时间")
    private String lastTime;
    @ApiModelProperty(value="访问IP")
    private String ipAddress;
    @ApiModelProperty(value="访问次数")
    private Integer visitsSumCount;

}
